]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ci: Change `update-mutter` to also install to sysext dir
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 29 Nov 2024 16:54:32 +0000 (17:54 +0100)
committerMarge Bot <marge-bot@gnome.org>
Thu, 5 Dec 2024 12:57:29 +0000 (12:57 +0000)
Out development toolbox contains an `update-mutter` command to
make it easier to keep mutter up-to-date for people who only
want to deal with gnome-shell.

To allow them to make use of the new sysext tooling, change the
command to install both to the toolbox root and the sysext
directory.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3498>

.gitlab-ci/build-toolbox-image.sh

index da9e1f852ceed70d3aea17d927803431dbf28753..9c0fb5e7977218793c3aa3559f6464248186b35b 100755 (executable)
@@ -57,7 +57,10 @@ build_container() {
   local update_mutter=$(mktemp)
   cat > $update_mutter <<-EOF
        #!/bin/sh
-       /usr/libexec/install-meson-project.sh https://gitlab.gnome.org/GNOME/mutter.git $MUTTER_BRANCH
+       TOOLBOX=\$(. /run/.containerenv; echo \$name)
+       /usr/libexec/install-meson-project.sh \\
+         --destdir=/ --destdir=/var/lib/extensions/\$TOOLBOX \\
+         https://gitlab.gnome.org/GNOME/mutter.git $MUTTER_BRANCH
        EOF
   buildah copy --chmod 755 $build_cntr $update_mutter /usr/bin/update-mutter